home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ WinNT Load Balance.xpl
< prev
next >
Wrap
Text File
|
2001-11-29
|
1KB
|
46 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH 1"="Network\Network Interface"
"UIPATH 2"="Hardware\NIC Cards"
"NAME"="Automatic Load Balancing"
"VERSION"="1.13"
"OSVERSION"="0101011"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable Load Balancing"
"DESCRIPTION 1"="For WinNT/Win2000/XP: For systems with 2 Network Cards [NICs]."
"DESCRIPTION 2"="Checking Box enables Load Balancing; Unchecking [clearing] Box will disable Load Balancing."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For X-Setup program information, go to http://www.xteq.com."
"COMMENT 2"="Thanks to CptSiskoX for the tip."
sP="HKLM\System\CurrentControlSet\Services\NetBT\Parameters\RandomAdapter" 'Dword 1=enable 0=disable
sP1="HKLM\System\CurrentControlSet\Services\NetBT\Parameters\SingleResponse" 'Dword 1=enable 0=disable
Sub Plugin_Initialize
i=RegReadValue(sP)
if i=1 then SetUIElement 1,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP,1,2)
Call RegWriteValue(sP1,1,2)
else
if RegValueExists(sP) then Call RegDeleteValue(sP)
if RegValueExists(sP1) then Call RegDeleteValue(sP1)
end if
End Sub
Sub Plugin_Terminate
End Sub